<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<!--{$page_charset}-->" />
<title><!--{$page_title}-->-<!--{$copyright_header}--></title>
<meta name="description" content="<!--{$page_metadescription}-->" />
<meta name="keywords" content="<!--{$page_metakeyword}-->" />
<meta name="author" content="<!--{$copyright_author}-->" />
<script type="text/javascript" src="<!--{$skinpath}-->js/language.js"></script>
<link href="<!--{$skinpath}-->css/mergesite.css" rel="stylesheet" type="text/css" />
<link href="<!--{$skinpath}-->css/global.css" rel="stylesheet" type="text/css"  />
<script type="text/javascript" src="<!--{$skinpath}-->js/mergesite.js"></script>
<script type="text/javascript" src="<!--{$skinpath}-->js/command.js"></script>
<script type="text/javascript">
function mysubumit()
 {
 if (formcheck())
 {

	  document.editform.action="userinfo.php";
      document.editform.method="post";
      document.editform.submit();
   }  
}

  function formcheck() 
    { 
       if(document.getElementById("loginname").value== "") 
         { 
		 
		   alert("请输入用户名");
		   document.editform.loginname.focus();
		   document.editform.loginname.select(); 
           return false;
         }

	   if(document.editform.loginname.value.length<3) 
         { 
		   alert("用户名不能小于3位");
		   document.editform.loginname.focus();
		   document.editform.loginname.select(); 
           return false;
         }   

    return true;      
    }
</script>
<link rel="shortcut icon" href="/favicon.ico" />
</head>
<body>
<div id="header" class="cfl">
<div class="header_wrap">
<h1 class="header_logo">
<a href="<!--{$urlpath}-->"><img src="<!--{$urlpath}--><!--{$config.logoimg}-->" width="170px" height="70px" ></a>
</h1>
<div class="header_menu">
<!-- star pub header# //-->
<!--{include file="<!--{$tplpath}-->block_head.html"}-->
<!-- end header# //-->
</div>
</div>
</div>

<div class="main_content"> 
<div class="accessories">
	<div class="aside">
	<div class="nav">
			<h3>会员中心</h3>
			<ul>
<!--{if $username eq ""}-->
<li><a href="register.php" target="_blank" style="margin-left: 5px;">注册会员</a></li>
<!--{else}-->
<li><a href='index.php'  title='会员中心首页'>会员中心首页</a></li>
<li><a  href='userinfo.php' target="_blank" title='修改基本信息'>修改基本信息</a></li>
<li><a  href='mymessage.php' title='我的留言'>我的留言</a></li>
<li><a  href='myorder.php' title='我的订单'>我的订单</a></li>
<li><a  href='resume.php' title='我的简历'>我的简历</a></li>
<li><a href='loginout.php' title='安全退出'>安全退出</a></li>
<!--{/if}-->
			</ul>
		</div>
	</div>
	<!-- aside -->
 
<div class="main" style="float:right;width:758px">
<div class="promo">
<div class="mainnatming"><H5>修改资料</H5></div>
<div class="contentmain">
 <div>

  <form method="POST"  name="editform" >
  	<input type="hidden" name="uaction" id="uaction" value="usersave" />
  	<input type="hidden" name="userid" id="userid" value="<!--{$id}-->" />
    <table cellpadding="1" border="0" cellspacing="1">
	<tr>
	<td class="zhuce_text"><span>用户名:</span></td>
	<td class="zhuce_input"><input id="loginname" name="loginname" value="<!--{$user.loginname}-->" type="text" class="input-text" /></td>
	<td class="zhuce_sm">*</td>
	</tr>
	<tr>
	<td class="zhuce_text"><span>登录密码:</span></td>
	<td class="zhuce_input"><input name="password" id="password" type="password" class="input-text" /></td>
	<td class="zhuce_sm">*</td>
	</tr>
	<tr>
	<td class="zhuce_text"><span>密码确认:</span></td>
	<td class="zhuce_input"><input  name="password1" id="password" type="password" class="input-text" /></td>
	<td class="zhuce_sm">*</td>
	</tr>
	<tr>
	<td class="zhuce_text"><span>性别：</span></td>
	<td class="zhuce_input">
     <!--{if $user.sex==1}-->
	<input name="Sex" type="radio" value="先生" checked="checked" class="inputnoborder" />先生 
     <input type="radio" name="Sex" value="女士" class="inputnoborder" />女士
	 <!--{else}-->
	<input name="Sex" type="radio" value="先生" class="inputnoborder" />先生 
     <input type="radio" name="Sex" value="女士" class="inputnoborder" checked="checked" />女士
	 <!--{/if}-->
	 </td>
	<td class="zhuce_sm">*</td>
	</tr>
    <tr>
	<td class="zhuce_text"><span>真实姓名:</span></td>
    <td class="zhuce_input"><input name="realname" id="realname" value="<!--{$user.loginname}-->" type="text" class="input-text" /></td>
	<td class="zhuce_sm">*</td>
	</tr>
	<tr>
	<td class="zhuce_text"><span>联系电话:</span></td>
    <td class="zhuce_input"><input name="telno" id="telno" value="<!--{$user.telno}-->" type="text" class="input-text" /></td>
	<td class="zhuce_sm"></td>
	</tr>
	<tr>
	<td class="zhuce_text"><span>生日:</span></td>
    <td class="zhuce_input"><input id="brothday" value="<!--{$user.brothday}-->" name="brothday" type="text" class="input-text" /></td>
	<td class="zhuce_sm"></td>
	</tr>
	<tr>
	<td class="zhuce_text"><span>E-mail:</span></td>
    <td class="zhuce_input"><input id="email" name="email" value="<!--{$user.email}-->" type="text" class="input-text" /></td>
	<td class="zhuce_sm">*</td>
	</tr>
	<tr>
	<td class="zhuce_text"><span>联系地址:</span></td>
    <td class="zhuce_input"><input name="address" id="address" value="<!--{$user.address}-->" type="text" class="input-text" /></td>
	<td class="zhuce_sm"></td>
	</tr>
	<tr>
	<td class="zhuce_text"><span>注册时间:</span></td>
    <td class="zhuce_input"><!--{$user.regdate|date_format:"%Y-%m-%d %H:%M:%S"}--></td>
	<td class="zhuce_sm"></td>
	</tr>
	<tr>
	<td class="zhuce_text"><span>登陆次数:</span></td>
    <td class="zhuce_input"><!--{$user.pointnum}--></td>
	<td class="zhuce_sm"></td>
	</tr>
	<tr>
	<td class="zhuce_text"><span>最后登陆IP:</span></td>
    <td class="zhuce_input"><!--{$user.lastloginip}--></td>
	<td class="zhuce_sm"></td>
	</tr>
	<tr>
	<td class="zhuce_text"><span>个人说明:</span></td>
    <td class="zhuce_input" colspan="2"><textarea name='memo' id='memo' style='width:260px;height:65px;overflow:auto;color:#444444;'><!--{$user.memo}--></textarea></td>
	</tr>
	<tr>
	<td class="zhuce_text"></td>
	<td class="zhuce_subimt" colspan="2">
	<input type="button" id="b_save" name="b_save" onClick="mysubumit()" value="立即修改" />
	<input type="reset" value="重填" id="b_reset" name="b_reset" /></td>
    </tr>
	</table>
</form>



 </div>
</div>
</div>
</div>
</div>

</div>
<div style="width:100%;height:10px;clear:both;"></div>


<!--{include file="<!--{$tplpath}-->block_footer.html"}-->

<!--{include file="<!--{$tplpath}-->block_onlinechat.html"}-->
</body>
</html>



